<?php

namespace common\models\ding;

use common\models\base\BaseModel;
use Yii;

/**
 * This is the model class for table "{{%fy_banner}}".
 *
 * @property int $id 主键
 * @property string $banner 图片
 * @property int $status 状态[-1:删除;0:禁用;1启用]
 * @property string $created_at 创建时间
 * @property string $updated_at 修改时间
 */
class Talk extends BaseModel
{

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%dingding}}';
    }
    public function rules()
    {
        return [
            [['creator_name','created_at'], 'safe'],
        ];
    }
    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'week' => '本周完成工作',
            'work' => '下周工作计划',
            'summary' => '本周工作总结',
            'help' => '需协调与帮助',
            'created_at' => '创建时间',
            'creator_id' => '注册id',
            'creator_name' => '注册姓名',
            'dept_name' => '群组名称',
            'images' => '图片',
            'modified_time' => '修改时间',
            'remark' => '评论',
            'report_id' => '报告编号',
            'template_name' => '周报'
        ];
    }
}
